package rush.rushcampus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("idle")
@ApiModel(value="idle对象", description="闲置")
public class Idle implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "发布类型" , required = true)
    private Integer type;

    private String imgList;

    private String tagIds;

    private Long authorId;

    private Integer status;

    private Integer isChoice;

    private Long viewCount;

    private Long likeCount;

    private LocalDateTime createTime;

    @ApiModelProperty(value = "文章内容" , required = true)
    private String content;

    private BigDecimal money;

    private Integer ChoiceSort;

    private Long commentCount;
    private Long starCount;
}

